//
//  SettingViewController.swift
//  TalkeTv
//
//  Created by lhf on 2024/10/19.
//

import UIKit

class SettingViewController: UIViewController {
    
    @IBAction func logout(_ sender: Any) {
        UIAlertController.init().showAlert(title: "提示", message: "确定退出登录？") {
            UserInfo.sharedInstance.clearUserAutoLoginKey()
            UserInfo.sharedInstance.toLogin("normal")
        }
    }

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
